home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-04-17 | 1.6 KB | 39 lines | [TEXT/MPS ] |
- ; Version: 1.00
- ; Created: Friday, October 20, 1989 at 9:11:52 PM
- ; File: Folders.a
- ;
- ; Assembler Interface to the Macintosh Libraries
- ; Copyright Apple Computer, Inc. 1989-90
- ; All Rights Reserved
- ;
- ;--------------------------------------------------------------------
- IF &TYPE('__IncludingFolders__') = 'UNDEFINED' THEN
- __IncludingFolders__ SET 1
-
- kOnSystemDisk equ $8000
-
- kCreateFolder equ 1 ; true- create a folder or not
- kDontCreateFolder equ 0 ; false
-
- kSystemFolderType equ 'macs' ; the system folder
- kDesktopFolderType equ 'desk' ; the desktop folder; objects in this folder show on the desktop
- kTrashFolderType equ 'trsh' ; the trash folder; objects in this folder show up in the trash
- kWhereToEmptyTrashFolderType equ 'empt' ; the “empty trash” folder; Finder starts emptying from here down
-
- kPrintMonitorDocsFolderType equ 'prnt' ; Print Monitor documents
-
- kStartupFolderType equ 'strt' ; Finder objects (applications, documents, DAs, aliases to …) to open at startup go here
- kAppleMenuFolderType equ 'amnu' ; Finder objects to put into the Apple menu go here
- kControlPanelFolderType equ 'ctrl' ; Control Panels go here (may contain INITs)
- kExtensionFolderType equ 'extn' ; Finder extensions go here
-
- kPreferencesFolderType equ 'pref' ; preferences for applications go here
- kTemporaryFolderType equ 'temp' ; temporary files go here (deleted periodically, but don’t rely on it)
-
- macro
- _FindFolder
- moveq #0,d0
- dc.w $A823
- endm
-
- ENDIF ; ...already included